package com.ai.bitcoin.bo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by gulj on 2018/6/11.
 */
@Data
public class HtmlReportGenerateBO {
    /**
     * 用户token
     */
    @NotNull(message = "token不能为空")
    private String token;

    /**
     * bccId
     */
    @NotNull(message = "bccId不能为空")
    private String bccId;

    /**
     * 报告的推送时间
     */
    private String reportDate;

    /**
     * openId
     */
    private String openId;

    public String getReportUniqueKey() {
        return bccId + "_" + reportDate + "_" + openId;
    }
}
